From 284ff06ef6aef83dc86198fae16aa33f29f79357 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 20 Jan 2012 08:16:35 -0500 Subject: [PATCH] GtkApplication: fix !x11 build Since we moved the menu models to GTK+, we need to deal with them on all platforms, even if we don't do anything special with them on win32. --- gtk/gtkapplication.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c index b4c29a8a3b..d2aabc4324 100644 --- a/gtk/gtkapplication.c +++ b/gtk/gtkapplication.c @@ -147,16 +147,17 @@ struct _GtkApplicationPrivate gboolean register_session; + GMenuModel *app_menu; + GMenuModel *menubar; + #ifdef GDK_WINDOWING_X11 GDBusConnection *session_bus; const gchar *application_id; gchar *object_path; - GMenuModel *app_menu; gchar *app_menu_path; guint app_menu_id; - GMenuModel *menubar; gchar *menubar_path; guint menubar_id; -- 2.30.2